package com.leapp.sk.ui.activity.find

import android.os.Bundle
import com.example.mvp.activity.BaseActivityMVP
import com.example.mvp.binder.BaseDataBinder
import com.leapp.sk.R
import com.leapp.sk.bean.AuditionsEntity
import com.leapp.sk.binder.BaseBinder
import com.leapp.sk.viewdelegate.find.AuditionsDelegate

/**
 * 试听课
 * @author  chaohaipeng  on 2018/8/15.
 */
class AuditionsActivity :BaseActivityMVP<AuditionsDelegate>(){
    override fun initDate() {
        val mutableListOf = mutableListOf<AuditionsEntity>()
        for (i in 0..5){
            mutableListOf.add(AuditionsEntity())
        }
        viewDelegate.initAdapter(this,mutableListOf)
    }

    override fun initView(p0: Bundle?) {
        viewDelegate.setTitle(resources.getString(R.string.string_auditions))
    }

    override fun bindEvenListener() {
    }

    override fun getDelegateClass(): Class<AuditionsDelegate> {
        return AuditionsDelegate::class.java
    }

    override fun getDataBinder(): BaseDataBinder<*, *> {
        return BaseBinder()
    }
}